//
// Copyright 2015-2019 The OpenZipkin Authors
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
// in compliance with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software distributed under the License
// is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
// or implied. See the License for the specific language governing permissions and limitations under
// the License.
//

.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 80px;
  color: $gray-11;
  background-color: $blue-4;
  z-index: 10000;
  font-size: 11px;
}

.sidebar__menu {
  & a {
    color: $gray-11;
    text-decoration: none;
  }
}

.sidebar__page-option {
  display: flex;
  justify-content: center;
  padding: 4px;
  box-sizing: border-box;
  &:hover {
    background-color: $blue-5;
  }
}

.sidebar__page-option--selected {
  display: flex;
  justify-content: center;
  padding: 4px;
  box-sizing: border-box;
  color: $dark-4;
  background-color: $blue-5;
  border-left: 4px solid $gray-8;
}

.sidebar__page-option-icon {
  display: flex;
  justify-content: center;
  font-size: 22px;
}

.sidebar__brand-link {
  width: 80px;
  height: 80px;
  padding: 2px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  background: linear-gradient(to bottom, #7baFc6, #6A9FB5);
}

.sidebar__brand-logo {
  width: 80px;
  & * {
    fill: $gray-11;
  }
}

.sidebar__other-links {
  position: absolute;
  bottom: 24px;
  width: 100%;
  font-size: 24px;

  & a {
    color: $gray-11;
    text-decoration: none;
  }
}

.sidebar__other-link {
  padding: 10px 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

.sidebar__go-back-to-classic-button-wrapper {
  width: 100%;
  padding: 18px 4px 4px 4px;
  box-sizing: border-box;
}

.sidebar__go-back-to-classic-button {
  border-radius: 3px;
  color: $gray-2;
  background: linear-gradient(to bottom, $gray-10, $gray-9);
  font-weight: bold;
  cursor: pointer;
}
